<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of project
 *
 * @author truongkx
 */
class contact extends CP_Controller{
    //put your code here
    function __construct() {
        parent::__construct('contactus','','Id');
    }
    public function bindingus(){
		$this->backend_model->datatables_config=array(
				"table"=>"contactus",
				"order_by"=>"Order By `Insert` DESC  ",
				"columnmaps"=>array(
						
				)
		);
        $R=$this->backend_model->_bindingdata();
        $this->output->set_header('Content-type: application/json');
        $this->output->set_output(json_encode($R));
    }
    function us(){
        echo $c=$this->load->view('cms/cp/05_contact/usviewport',$this->assigns,true);
    }
    public function bindingrequest(){
		$this->backend_model->datatables_config=array(
				"table"=>"projectplanner",
				"order_by"=>"Order By `Insert` DESC  ",
				"columnmaps"=>array(
						
				)
		);
        $R=$this->backend_model->_bindingdata();
        $this->output->set_header('Content-type: application/json');
        $this->output->set_output(json_encode($R));
    }
    function projectplanner(){
        echo $c=$this->load->view('cms/cp/05_contact/ppviewport',$this->assigns,true);
    }
    
}

?>
